/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PartnerEnum extends StringEnum
{
    public static final String CUSTOMER_VALUE = "10";
    public static final String SUPPLIER_VALUE = "20";

    public static final PartnerEnum customer = new PartnerEnum("customer", CUSTOMER_VALUE);
    public static final PartnerEnum supplier = new PartnerEnum("supplier", SUPPLIER_VALUE);

    /**
     * construct function
     * @param String partnerEnum
     */
    private PartnerEnum(String name, String partnerEnum)
    {
        super(name, partnerEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PartnerEnum getEnum(String partnerEnum)
    {
        return (PartnerEnum)getEnum(PartnerEnum.class, partnerEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PartnerEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PartnerEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PartnerEnum.class);
    }
}